mauzer
02/29/2024, 12:51 PMAdam Cameron
this.dataSource in Application.cfc is not the same variable as this.dataSource in another CFC. This should not be a surpriseAdam Cameron
this.datasource is, then you don't need to specify a data source in yer app (ie: it's the default). If that's the one yer wanting to use.mauzer
02/29/2024, 12:59 PMmauzer
02/29/2024, 1:00 PMAdam Cameron
application.datasource was incorrect advice.mauzer
02/29/2024, 1:00 PMneokoenig
02/29/2024, 1:00 PMAdam Cameron
onApplicationStart, but should not need it if you have this.datasource set, and that's the only data source you need to use.mauzer
02/29/2024, 1:01 PMmauzer
02/29/2024, 1:01 PMmauzer
02/29/2024, 1:02 PMAdam Cameron
this.datasource in Application.cfc, then you don't need to specify it in the <cfquery> tag at all.Adam Cameron
Adam Cameron
<cfquery name="insertCompanyBOIinfo">mauzer
02/29/2024, 1:05 PMmauzer
02/29/2024, 1:06 PMmauzer
02/29/2024, 1:06 PM